require recipes-bsp/u-boot/u-boot.inc

SECTION = "bootloaders"

DEPENDS += "flex-native bison-native xxd-native"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"

USRC ?= "git://gitee.com/ourbmc/uboot.git;branch=${UBRANCH};protocol=ssh"
SRC_URI = "${USRC}"

S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
do_configure[cleandirs] = "${B}"

# Currently, this configuration is not being used.
UBOOT_INITIAL_ENV = ""

PV = "2019.04+git${SRCPV}"
